package org.spring.springboot.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 描述：栏目分类
 * <p>
 * Author: 赵新国
 * Date: 2017/10/18 10:53
 */
public class Category implements Serializable{

    private int id;

    private int parentId;

    private String name;

    private String description;

    private List<Category> childCategoryList = new ArrayList<Category>();

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<Category> getChildCategoryList() {
        return childCategoryList;
    }

    public void setChildCategoryList(List<Category> childCategoryList) {
        this.childCategoryList = childCategoryList;
    }
}
